QT += core

TEMPLATE = lib
DEFINES += JWDC_LIBRARY WAVE_FORMAT_PCM _CRT_SECURE_NO_WARNINGS RUSSIAN _RUSSIAN _DRIPDEF

CONFIG += c++17

DESTDIR = ../LIBS

INCLUDEPATH += ../JWTS
INCLUDEPATH += ../JWWS

QMAKE_CFLAGS += -fpermissive
QMAKE_CXXFLAGS += -fpermissive

# Additional library paths
LIBS += -L../LIBS

# Libraries your project depends on
LIBS += -lJWTS -lJWWS

win32 {
    LIBS += -lWinmm
}


# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0



# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

SOURCES += \
    ARRAY.CPP \
    BINARY.CPP \
    CODE.CPP \
    COMMANDS.CPP \
    FUNCTION.CPP \
    LEX.CPP \
    MASTER.CPP \
    OPTIMIZE.CPP \
    RANGER.CPP \
    READER.CPP \
    REGS.CPP \
    RUNNER.CPP \
    STACK.CPP \
    UNARY.CPP

HEADERS += \
    INCLUDE/ARRAYDC.HPP \
    INCLUDE/CTE.HPP \
    INCLUDE/JWDC.HPP \
    INCLUDE/JWDC_global.h \
    INCLUDE/LEX.HPP \
    INCLUDE/MASTER.HPP \
    INCLUDE/OPTIMIZE.HPP \
    INCLUDE/READER.HPP \
    INCLUDE/REGS.HPP \
    INCLUDE/RTE.HPP \
    INCLUDE/RUNNER.HPP \
    INCLUDE/STACK.HPP
